package oocl.ita.eordering.po;

public class Page {
	private int curPage;
	private int pageSize;
	private int startPage;
	
	public Page(int curPage, int pageSize) {
		super();
		this.curPage = curPage;
		this.pageSize = pageSize;
	}
	public int getCurPage() {
		return curPage;
	}
	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getStartPage() {
		return pageSize * (curPage - 1) + 1;
	}
	
}
